/**
 * Project Name:clps.sms
 * File Name:AccountDAOImpl.java
 * Package Name:com.clps.dev.sms.sm.dao.impl
 * Copyright (c) 2018, erwin.wang@clpsglobal.com All Rights Reserved.
 *
 */
package com.clps.dev.sms.sm.dao.impl;

import java.sql.Connection;
import java.util.ArrayList;
import java.util.List;

import com.clps.dev.sms.sm.dao.AccountDAO;
import com.clps.dev.sms.sm.pojo.Account;
import com.clps.dev.sms.util.db.ConnectDB;

/**
 * ClassName: AccountDAOImpl <br/>
 * Description: <br/><br/>
 *
 * @author erwin.wang
 * @version V1.0
 * @since JDK 1.8
 * @2018年10月31日 上午11:36:11
 */
public class AccountDAOImpl extends ConnectDB implements AccountDAO {

	private List<Account> accoutsList = null;
	
	private boolean flag = false;

	private List<Account> accountList = null;
	
	private Connection conn = null;
	/**
	 * 
	 */
	
	public AccountDAOImpl() {
		this.accoutsList = new ArrayList<>();
	}

	/**
	 * @see com.clps.dev.sms.sm.dao.AccountDAO#queryAllAccounts()
	 */
	@Override
	public List<Account> queryAllAccounts() {
		
		return accoutsList;
	}

	/**
	 * @see com.clps.dev.sms.sm.dao.AccountDAO#queryAccoutById(java.lang.String)
	 */
	@Override
	public Account queryAccoutById(String accountId) {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * @see com.clps.dev.sms.sm.dao.AccountDAO#queryAccountByCondition()
	 */
	@Override
	public List<Account> queryAccountByCondition() {
		return null;
	}

	/**
	 * @see com.clps.dev.sms.sm.dao.AccountDAO#updateAccountById(com.clps.dev.sms.sm.pojo.Account)
	 */
	@Override
	public Boolean updateAccountById(Account account) {
		return null;
	}

	/**
	 * TODO 简单描述该方法的实现功能（可选）.
	 * @see com.clps.dev.sms.sm.dao.AccountDAO#deleteAccountById(java.lang.String)
	 */
	@Override
	public Boolean deleteAccountById(String accountId) {
		return null;
	}

	/**
	 * @see com.clps.dev.sms.sm.dao.AccountDAO#saveAccount(com.clps.dev.sms.sm.pojo.Account)
	 */
	@Override
	public Boolean saveAccount(Account account) {
		return null;
	}

}
